<ui:composition template="template1.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">

	<ui:define name="title">
        New page title here
    </ui:define>

	<ui:define name="login">
		<h:form id="form1">

			<h:panelGrid columns="2">
 	 		Loginname:
  			<h:inputText value="#{login.sUserName}" />
  			Passwort:
  			<h:inputSecret value="#{login.sUserPassword}" />
			</h:panelGrid>

			<h:commandButton action="#{loginCtrl.checkPW}" value="Anmelden" />

		</h:form>
	</ui:define>
</ui:composition>